package batiment;

import java.util.Collection;

import ressourceImpl.QuantiteRessource;

/**
 * 
 * @modelguid {4B2DD2D7-D4A3-4D2E-B67B-1EB4A2E959B9}
 */
public class Masure extends Batiment {
	/**
	 * 
	 * @modelguid {619BF8F5-9626-4CC3-A546-72E3206FE8B1}
	 */
	private int _capacite;

	public Masure(int sup, Collection<QuantiteRessource> c, int vit_constr, int vit_destru, int res, int cap, String _nom){
		super (sup, c, vit_constr, vit_destru, res, _nom);
		this.set_capacite(cap);
	}
	/** @modelguid {E9D046E0-0462-43D9-BA40-EA0085656164} */
	public int get_capacite() {
		/*Begin Template Expansion{D463887C-0F96-42C1-B8DC-90E8DC272BD5}*/
		
		return _capacite;
		/*End Template Expansion{D463887C-0F96-42C1-B8DC-90E8DC272BD5}*/
	}

	/** @modelguid {64571717-CC01-4651-8C78-BFF4892272CE} */
	public void set_capacite(int a_capacite) {
		/*Begin Template Expansion{CA3F77E8-8B8B-47C4-A1B8-CE1F21AEAEA5}*/
		_capacite = a_capacite;
		/*End Template Expansion{CA3F77E8-8B8B-47C4-A1B8-CE1F21AEAEA5}*/
	}

}

